﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional

namespace ProgrammingEducationSystem.Migrations
{
    /// <inheritdoc />
    public partial class t : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "1ecdc5a6-5561-43aa-9fdc-9da047768d6b");

            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "3ab8656a-0d3e-41c8-9b59-3be949187527");

            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "65ac295a-302e-409d-8953-d63a415c8248");

            migrationBuilder.InsertData(
                table: "AspNetRoles",
                columns: new[] { "Id", "ConcurrencyStamp", "Name", "NormalizedName" },
                values: new object[,]
                {
                    { "292f3d23-a3b7-4d55-ab4b-d3c124f7d704", null, "TEACHER", "TEACHER" },
                    { "429f7cf5-f2b0-4074-9137-f3368d1200e6", null, "STUDENT", "STUDENT" },
                    { "51ff1a77-b8c0-4f4c-b194-3d9040a47b0c", null, "ADMIN", "ADMIN" }
                });
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "292f3d23-a3b7-4d55-ab4b-d3c124f7d704");

            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "429f7cf5-f2b0-4074-9137-f3368d1200e6");

            migrationBuilder.DeleteData(
                table: "AspNetRoles",
                keyColumn: "Id",
                keyValue: "51ff1a77-b8c0-4f4c-b194-3d9040a47b0c");

            migrationBuilder.InsertData(
                table: "AspNetRoles",
                columns: new[] { "Id", "ConcurrencyStamp", "Name", "NormalizedName" },
                values: new object[,]
                {
                    { "1ecdc5a6-5561-43aa-9fdc-9da047768d6b", null, "TEACHER", "TEACHER" },
                    { "3ab8656a-0d3e-41c8-9b59-3be949187527", null, "ADMIN", "ADMIN" },
                    { "65ac295a-302e-409d-8953-d63a415c8248", null, "STUDENT", "STUDENT" }
                });
        }
    }
}
